package com.Register.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "web端用户登录返回的数据VO")
public class UserWebLoginVO implements Serializable {

    @Schema(description = "主键值")
    private Long id;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "0 默认普通账号，1 管理员账号")
    private Long classification;

    @Schema(description = "用户昵称")
    private String name;

    @Schema(description = "jwt令牌")
    private String token;

}
